//
//  DecoraterTest.m
//  LearnObjectiveC
//
//  Created by client on 2017/9/11.
//  Copyright © 2017年 吴可高. All rights reserved.
//

#import "DecoraterTest.h"
#import "DecoratorSource.h"
#import "Decorator.h"

@implementation DecoraterTest

-(void)decorater
{
    DecoratorSource * source = [[DecoratorSource alloc]init];
    Decorator * decorator = [[Decorator alloc]init];
    [decorator setSource:source];
    [decorator method];
}

@end



